From: Paul Eggert Date: Wed, 8 Jun 2011 19:18:46 +0000 (-0700) Subject: * alloc.c (allocate_pseudovector): Don't use EMACS_INT when int would do. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~3446^2~63 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b399ad340e91ea845cb277bfb041294e906df929;p=emacs.git * alloc.c (allocate_pseudovector): Don't use EMACS_INT when int would do. --- diff --git a/src/ChangeLog b/src/ChangeLog index 8d9f64fd78b..527251b6e34 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -17,6 +17,7 @@ (inhibit_garbage_collection): Set gc_cons_threshold to max value. Previously, this ceilinged at INT_MAX, but that doesn't work on 64-bit machines. + (allocate_pseudovector): Don't use EMACS_INT when int would do. * alloc.c (Fmake_bool_vector): Don't assume vector size fits in int. (allocate_vectorlike): Check for ptrdiff_t overflow. diff --git a/src/alloc.c b/src/alloc.c index e04f60baf03..4530e0a7377 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -2832,7 +2832,7 @@ struct Lisp_Vector * allocate_pseudovector (int memlen, int lisplen, EMACS_INT tag) { struct Lisp_Vector *v = allocate_vectorlike (memlen); - EMACS_INT i; + int i; /* Only the first lisplen slots will be traced normally by the GC. */ for (i = 0; i < lisplen; ++i)